package com.cusc.lib_api.services;

import com.cusc.lib_api.bean.RespDTO;
import com.cusc.lib_api.bean.department.NodeDepartment;
import com.cusc.lib_api.bean.department.request.Req_department;

import java.util.ArrayList;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * 作者: wangfei
 * 创建时期: 2020/4/9.
 * 包名: com.cusc.lib_api.services
 * 类名: OSAndroidMvvm
 */
public interface DepartmentServices {
    @POST("bus-tree-service/bus/tree/organization/get")
    Observable<RespDTO<ArrayList<NodeDepartment>>> getDepartmentToBus(@Body Req_department reqDepartment);
}
